package yxy.cherry.battle.module.record.stream;

import yxy.cherry.battle.Fighter;
import yxy.cherry.battle.module.affix.AffixContext.AffixTarget;

public class RecordStream_02_攻击伤害 extends RecordStream {

	private AffixTarget target;

	public RecordStream_02_攻击伤害(AffixTarget target) {
		this.target = target;
	}

	@Override
	protected void _record() {
		Fighter fighter = target.get目标();
		sb().append(2);
		sb().append("|");
		sb().append(fighter.getFighterPosition().code());
		sb().append("|");
		sb().append("[");
		sb().append(target.总伤害());
		sb().append("]");
		sb().append("|");
		sb().append(target.get效果流().toString());
		sb().append("|");
		sb().append(fighter.get血量万分值());
		sb().append(";");
	}

}
